package com.taobao.miniapp.job;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

import java.util.Date;


@Configuration
@EnableScheduling
public class TestJob {

    @Scheduled(cron = "*/10 */1 * * * ?")
    public void test(){
        System.err.println("test=================>>>>>>  " + new Date());
    }
}